/*
 * LogisticsFooterHolder.java
 * business
 *
 * Created by SunDing on 2016/12/5.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.viewholder;

import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.yidiandao.business.R;
import com.yidiandao.business.ui.widget.listview.ViewHolder;

/** 物流信息 底部收货信息 */
public class LogisticsFooterHolder extends ViewHolder {

    public TextView mTvServer;
    public TextView mTvSendInfo;
    public TextView mTvConsignee;
    public TextView mTvPhone;
    public TextView mTvAddressSend;
    public TextView mTvAddressGet;
    public LinearLayout mLlAddress;

    @Override
    protected void initView(View rootView) {
        mLlAddress = (LinearLayout) rootView.findViewById(R.id.ll_address);
        mTvServer = (TextView) rootView.findViewById(R.id.tv_server);
        mTvSendInfo = (TextView) rootView.findViewById(R.id.tv_send_info);
        mTvConsignee = (TextView) rootView.findViewById(R.id.tv_consignee);
        mTvPhone = (TextView) rootView.findViewById(R.id.tv_phone);
        mTvAddressSend = (TextView) rootView.findViewById(R.id.tv_address_send);
        mTvAddressGet = (TextView) rootView.findViewById(R.id.tv_address_get);
    }

    @Override
    protected int getItemLayoutId() {
        return R.layout.item_logistics_listview_footer;
    }
}
